public class EchoServer
{	public static final int ECHO_P = 7880;

	public static void main (String[] args)
	throws Exception
	{	Address localAddress = new Address ("127.0.0.1", ECHO_P, 1);
		PostOffice pobox = new PostOffice (localAddress);
		Message m;

		while (true)
		{	m = pobox.receive ();
			pobox.send (m, m.getSrc ());
		}
	} // main
} 
